﻿Imports System.IO

Module ModuloInicializarConstantes
    Public delimitadores As String() = {";"}

    Public INDEX_CODIGO_EMPLEADO As Integer = 0
    Public INDEX_USUARIO_EMPLEADO As Integer = 1
    Public INDEX_NOMBRE_EMPLEADO As Integer = 2
    Public INDEX_ESADMIN_EMPLEADO As Integer = 3
    Public INDEX_PASSWORD_EMPLEADO As Integer = 4
    Public directorio As String = "c:/eleemeTPV"
    Public RutaDatosLogueo As String = directorio & "/logueo.txt"

    Public Function getRutaDatosLogueo() As String
        Return RutaDatosLogueo
    End Function

    Public Function getNumeroEmpleados() As Integer
        Return numeroEmpleados
    End Function

    Public rutaDatosEmpleados As String = directorio & "/empleados.txt"
    Public Function getRutaDatosEmpleados() As String
        Return rutaDatosEmpleados
    End Function
    Public numeroEmpleados As Integer = File.ReadAllLines(rutaDatosEmpleados).Length

    Public Function getRutaCaja() As String
        Return "c:\eleemeTPV\caja"
    End Function

End Module
